import {StyleSheet} from 'react-native';
import utils from './../../js/utils/utils';


export const ShopStyle = StyleSheet.create({
    containerView:{
        backgroundColor: '#FFF'
    },
    typeImgView:{
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'space-around',
        height: utils.autoheight(140),
        marginTop: utils.autoWidth(1),
    },
    typeImg:{
        width: utils.screenWidth / 3,
        height: utils.autoheight(140),
    },
    listTitleView:{
        height: utils.autoheight(40),
        backgroundColor: '#F0F0F0',
        justifyContent: 'center',
        paddingLeft: utils.autoWidth(10),
        marginBottom: utils.autoheight(1),
    },
    listTitleViewText:{
        fontSize: utils.setSpText(15),
        color: '#000',
    },
    listTitleMarkViewText:{
        fontSize: utils.setSpText(17),
        color: '#000',
    },
    listView:{
        width: utils.screenWidth,
        flexDirection: 'row',
        flexWrap: 'wrap',
        alignItems: 'center', // 必须设置,否则换行不起作用
        marginTop: utils.autoheight(1),
    },
    listItemView:{
        width: utils.screenWidth / 2,
        height: utils.autoheight(245),
    },
    listItemViewImg:{
        flex: 1,
    },
    listItemTextView:{
        height: utils.autoheight(45),
        flexDirection: 'column',
        justifyContent: 'center',
        alignItems: 'center',
    }
});